package ticketmachine.logic.paymentAdapters;

public class CashPayment extends Payment{
	
	private float amountIntroduced;

	public CashPayment(float amountDue, float amountIntroduced){
		super(amountDue);
		this.amountIntroduced=amountIntroduced;	
	}
	
	public float authorise() {
		return this.getAmmount()-amountIntroduced;
	}

}
